Scrolling commands which does not signal errors at top/bottom.
authorJuri Linkov <juri@jurta.org>
Mon, 5 Apr 2010 23:38:53 +0000 (02:38 +0300)
committerJuri Linkov <juri@jurta.org>
Mon, 5 Apr 2010 23:38:53 +0000 (02:38 +0300)
commita1cd0555d5bd0af5cd6ad2f0dad90991e78ac5f9
treed0513df5eb0819f2e65b3972391e3ce57dc443b3
parentd4ee647bbd1770da8213125a7e89869fa83dc2f1
Scrolling commands which does not signal errors at top/bottom.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html

* simple.el (scroll-up-command, scroll-down-command): New commands.
Put property isearch-scroll=t on them.

* bindings.el (global-map): Rebind [prior] from `scroll-down' to
`scroll-down-command' and [next] from `scroll-up' to
`scroll-up-command'.

* emulation/cua-base.el: Put property CUA=move on
`scroll-up-command' and `scroll-down-command'.
(cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
and `scroll-down-command' to `cua-scroll-down'.
etc/NEWS
lisp/ChangeLog
lisp/bindings.el
lisp/emulation/cua-base.el
lisp/simple.el